package com.demon.net.handler

import androidx.lifecycle.MutableLiveData
import com.demon.net.ui.UIState
import com.demon.net.ResponseResult

/**
 * 类简要描述
 * <p/>
 * <p>
 * 类详细描述
 * </p>
 *
 * @author zhaozeyang
 * @date 2020/10/15
 */
interface IResponseResultHandler {
  fun <T : Any> handle(
    uiState: MutableLiveData<UIState>,
    result: ResponseResult<T>,
    stick: Boolean = true
  )
}